package com.mlnx.work.enums;

import com.mlnx.common.enums.BaseCodeEnum;

public enum FilterTypeEnum implements BaseCodeEnum<Integer> {
    PROJECT(1, "项目"), CHILD_PROJECT(2, "子项目"), SYSTEM(3, "子系统"), MODULE(4, "单机"), TASK(5, "任务");

    private Integer code;

    private String desc;

    FilterTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return code;
    }
}
